import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false

// css重置样式
import '@/assets/css/start.css'

// 引入less
import less from 'less'
Vue.use(less)

// 引入vue-router
import router from './router/index'
// 引入懒加载
import VueLazyLoad from 'vue-lazyload'
Vue.use(VueLazyLoad, {
  loading: require('@/assets/loading.gif')
})
// 引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 引入字体图标
import "@/assets/iconfont/iconfont.css"

// 引入mock文件夹的index，mock的封装
import "./mock"

// 引入store实例对象
import store from '@/store'
new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
